﻿<Window x:Class="GoogleCalendarView.UserEntryPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="183" Width="500"
    Icon="icons/Users.png" ShowInTaskbar="False" WindowStyle="ThreeDBorderWindow" WindowState="Normal" WindowStartupLocation="CenterScreen" Visibility="Visible" OverridesDefaultStyle="False">
    <Window.CommandBindings>
        <CommandBinding Command="ApplicationCommands.Close"
                        Executed="CloseCommandHandler" />
        <CommandBinding Command="ApplicationCommands.Save"
                        Executed="SaveCommandHandler" />
    </Window.CommandBindings>
        <Grid>
        <DockPanel Name="rootPanel">
            <Label Name="titleLabel" DockPanel.Dock="Top" Background="Blue" Foreground="White">Enter data for new user!</Label>
            <Grid Name="bottomGrid" DockPanel.Dock="Bottom">
                <Grid.RowDefinitions>
                    <RowDefinition></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition></ColumnDefinition>
                    <ColumnDefinition></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Button Name="confirmButton" Command="ApplicationCommands.Save" Margin="38,0,62.5,0">Create user</Button>
                <Button Name="userPanel" Grid.Column="1" Command="ApplicationCommands.Close" Margin="69,0,29,0">Cancel</Button>
            </Grid>
            <Grid Name="inputGrid">
                <Grid.RowDefinitions>
                    <RowDefinition></RowDefinition>
                    <RowDefinition></RowDefinition>
                    <RowDefinition></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="90*"></ColumnDefinition>
                    <ColumnDefinition Width="388*"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Label Grid.Column="0"  Name="accountNameLabel" TextBlock.TextAlignment="Center" VerticalContentAlignment="Center" HorizontalContentAlignment="Left">AccountName</Label>
                <Label Grid.Column="0" Grid.Row="1" Name="userNameLabel" HorizontalContentAlignment="Left" VerticalContentAlignment="Center">Username</Label>
                <Label Grid.Column="0" Grid.Row="2" Name="passwordLabel" VerticalContentAlignment="Center">Password</Label>
                <TextBox Grid.Column="1" Name="accountNameBox" BorderThickness="1" BorderBrush="Black" Margin="3">foobar@gmail.com</TextBox>
                <TextBox Grid.Column="1" Grid.Row="1" Name="userNameBox" BorderThickness="1" BorderBrush="Black" Margin="3">FooBar</TextBox>
                <TextBox Grid.Column="1" Grid.Row="2" Name="passwordBox" BorderThickness="1" BorderBrush="Black" Margin="3">someSecretPassword</TextBox>
            </Grid>
        </DockPanel>
    </Grid>
</Window>
